
.center  {margin:0 auto; width: 600px;} 
.examples .row {
width: 100%;
display: table;
}

.examples .example {
display: table-cell;
text-align: center;
vertical-align: top;
/*padding: 2rem;*/
}
.tjingable{
width: 300px;
}

.figures figure:first-child:nth-last-child(3), .examples .example:first-child:nth-last-child(3), .examples .example:first-child:nth-last-child(3) ~ .example {
width: 33.3333%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}

.note{
  padding: 10px;
}


.note.simple{
  position: relative;
  padding-left: 27px;
  background-color: #fffecd; 
  background-image: 
    -webkit-linear-gradient(0deg, transparent 15px, #abced4 15px, #abced4 18px, transparent 18px),
    -webkit-linear-gradient(#ddd .05em, transparent .05em),
    -webkit-linear-gradient(right, #ddd 1px, transparent 1px);
    
  background-image:
    -moz-linear-gradient(0deg, transparent 15px, #abced4 15px, #abced4 18px, transparent 18px, transparent),
    -moz-linear-gradient(top, #ddd 1px, transparent 1px, transparent),
    -moz-linear-gradient(right, #ddd 1px, transparent 1px);

  background-image: 
    -ms-linear-gradient(0deg, transparent 15px, #abced4 15px, #abced4 18px, transparent 18px),
    -ms-linear-gradient(#ddd .05em, transparent .05em),
    -ms-linear-gradient(right, #ddd 1px, transparent 1px);

  background-image: 
    -o-linear-gradient(0deg, transparent 15px, #abced4 15px, #abced4 18px, transparent 18px),
    -o-linear-gradient(#ddd .05em, transparent .05em),
    -o-linear-gradient(right, #ddd 1px, transparent 1px);

  background-image: 
    linear-gradient(0deg, transparent 15px, #abced4 15px, #abced4 18px, transparent 18px),
    linear-gradient(#ddd .05em, transparent .05em),
    linear-gradient(right, #ddd 1px, transparent 1px);

  background-size: 100% 1.2em;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}

.note.simple:before{
  content:"";
  position:absolute;
  z-index: 1;
  top:0;
  right: 0px;
  width: 25px;
  height: 25px;
  background: #fff;
  background-image: -webkit-linear-gradient(45deg, #eeeda8, #eeeda8 40%, #e0df9e 50%, #fff 50%, #fff 100%);
  background-image: -moz-linear-gradient(45deg, #eeeda8, #eeeda8 40%, #e0df9e 50%, #fff 50%, #fff 100%);
  background-image: -ms-linear-gradient(45deg, #eeeda8, #eeeda8 40%, #e0df9e 50%, #fff 50%, #fff 100%);
  background-image: -o-linear-gradient(45deg, #eeeda8, #eeeda8 40%, #e0df9e 50%, #fff 50%, #fff 100%);
  background-image: linear-gradient(45deg, #eeeda8, #eeeda8 40%, #e0df9e 50%, #fff 50%, #fff 100%);        
  
  box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
}

/* ================== */
/* = Realistic note = */
/* ================== */

.note.realistic{
  padding: 20px;
	min-height:50px;
	position:relative;
  background: #fffecd;
  background-image: -webkit-linear-gradient(-69.5deg, #fffecd, #fffecd 50%, #f2f1c3 75%, #fffecd 95%);
  background-image: -moz-linear-gradient(-69.5deg, #fffecd, #fffecd 50%, #f2f1c3 75%, #fffecd 95%);
  background-image: -ms-linear-gradient(-69.5deg, #fffecd, #fffecd 50%, #f2f1c3 75%, #fffecd 95%);
  background-image: -o-linear-gradient(-69.5deg, #fffecd, #fffecd 50%, #f2f1c3 75%, #fffecd 95%);
  background-image: linear-gradient(-69.5deg, #fffecd, #fffecd 50%, #f2f1c3 75%, #fffecd 95%);        
  background-size: 200px 75px;
  background-repeat: no-repeat;
  background-position: 100% 100%;

  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);            		
}
.note.realistic:after{
  position:absolute;
	content:'';
	background: transparent;
	bottom:15px;
	right:8px;
	width:70%;
	height:70%;
	z-index:-2;
	
	box-shadow: 10px 15px 15px rgba(0, 0, 0, 0.5);            		
	
  -webkit-transform: rotate(5deg) skew(10deg);            		
	-moz-transform: rotate(5deg) skew(10deg);
}
.note.realistic:before{
  position:absolute;
	content:'';
	background: transparent;
	bottom:49px;
	right:30px;
	width:50%;
	height:50%;
	z-index:  -1;
	
  box-shadow: 11px 11px 32px rgba(255, 255, 255, 0.7);
	
  -webkit-transform: rotate(20deg) skew(45deg);
	-moz-transform: rotate(20deg) skew(45deg);
}

/* ================== */
/* = Speech bubbles = */
/* ================== */

.speech{
  padding: 20px;
  display: inline-block;
  border: 5px solid #ddd;
  border-radius: 20px;
  position: relative;
}

/* Talk bubble */
.speech.talk{
  -webkit-transform: rotate(5deg);
}

.speech.talk:before{
  position: absolute;
  content: "";
  background: transparent;
  border-left: 5px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid #ddd;
  left: 20px;
  top: 100%;
}

.speech.talk:after{
  position: absolute;
  content: "";
  background: transparent;
  border-left: 3px solid transparent;
  border-right: 21px solid transparent;
  border-top: 21px solid #fff;
  top: 100%;   
  left: 25px;             
}

/* Thinking bubble */

.speech.think{
  -webkit-transform: rotate(-7deg);
}

.speech.think:before{
  z-index: 1;
  position: absolute;
  content: "";
  background: #fff;
  width: 28px;
  height: 28px;
  border: 5px solid #ddd;
  border-radius: 50%;
  right: 5px;
  bottom: -26px;
}

.speech.think:after{
  z-index: 1;
  position: absolute;
  content: "";
  background: #fff;
  width: 17px;
  height: 17px;
  border: 5px solid #ddd;
  border-radius: 50%;
  right: -3px;
  bottom: -35px;                
}              

/* ============ */
/* = Tooltips = */
/* ============ */

.tooltips{
  border: 1px solid #52235F;
  padding: 10px;
}

.tooltips abbr,
.tooltips a{
  position: relative;
}

.tooltips abbr:hover:after,
.tooltips a:hover:after{
  position: absolute;
  content: "";
  border: 1px solid #52235F;
  background-color: #EFE9F0;
  padding: 5px;
  border-radius: 5px;
  left: 0;
  bottom: 100%;
}

.tooltips abbr:hover:after{
  content: attr(title);
}

.tooltips a:hover:after{
  content: "Link to: " attr(href);
  min-width: 5em;
  color: #000;
}

.tooltips a[href^=http]:hover:after{
  content: "External link: " attr(href);   
  min-width: 5em;    
}